#ifndef MYLABEL_H
#define MYLABEL_H
#include <QLabel>
#include <QDebug>
class MyLabel:public QLabel
{
    Q_OBJECT
public:
    MyLabel(QWidget* parent = nullptr):QLabel(parent){}

    void mouseReleaseEvent(QMouseEvent *ev) override{
        qDebug() << "mouse release";
        emit myClicked();
    }
signals:
    void myClicked();
};

#endif // MYLABEL_H
